<template>
    <div id="app">
        <Login v-if="!$store.state.userInfo"/>
        <MainPanel v-else/>
    </div>
</template>

<script lang="ts">
    import {Component, Vue} from 'vue-property-decorator';
    import Login from "@/components/Login.vue"
    import MainPanel from "@/components/MainPanel.vue"


    @Component({
        components: {
            MainPanel,
            Login
        },
    })
    export default class App extends Vue {



    }
</script>

<style lang="scss">
    #app {
        font-family: Avenir, Helvetica, Arial, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        color: #2c3e50;

        height: 100%;

    }
</style>
